home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / jpegagasrc / jpegaga / makefile.gcc < prev    next >
Makefile  |  1995-11-08  |  851b  |  38 lines

  1. #makefile for jpegAGA (68020+ version)
  2.  
  3. #you need libjpeg.a V6 in this directory
  4.  
  5. #you need PhxAss or a similar assembler
  6. #that understands 68020 opcodes
  7. #and creates standard Amiga object format
  8.  
  9. vpath %.h ../jpeg-6
  10. vpath %.c ../jpeg-6
  11.  
  12. CFLAGS = -I. -I../jpeg-6 -O2 -m68020 -msoft-float -noixemul -fbaserel
  13. CC=gcc
  14.  
  15.  
  16. OBJ = jpegAGA.o display.o scalefit.o ASLScreenMode.o AmigaJdatasrc.o\
  17. fromWB.o  pattern.o  ASLfiles.o EncodeHAM8.o WritePixel.o
  18.  
  19. INCLUDES= jconfig.h jmorecfg.h jpeglib.h myerror.h jerror.h WBFlags.h
  20.  
  21. jpegAGA: $(OBJ) 
  22.     gcc $(CFLAGS) $(OBJ) libjpeg.a -o jpegAGA.020
  23.  
  24. #assemble with large code/data
  25.  
  26. EncodeHAM8.o: EncodeHAM8.asm
  27.     PHXass OPT ! EncodeHAM8.asm TO temp.o
  28.     hunk2gcc temp.o
  29.     mv obj.* EncodeHAM8.o 
  30.     
  31.  
  32. WritePixel.o: WritePixel.asm
  33.     PHXass WritePixel.asm TO temp2.o
  34.     hunk2gcc temp2.o
  35.     mv obj.* WritePixel.o
  36.  
  37. $(OBJ): $(INCLUDES)
  38.